<!-- HTML header for doxygen 1.8.14-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="cache-control" content="max-age=86400"/>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GBDK 2020 Docs: _fixed Union Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen_extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GBDK 2020 Docs
   &#160;<span id="projectnumber">4.4.0</span>
   </div>
   <div id="projectbrief">API Documentation for GBDK 2020</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('union__fixed.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">_fixed Union Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="asm_2types_8h_source.html">gbdk-lib/include/asm/types.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:abd9258127ce7af017d5f807fa297950a"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:a758161becac272b17e015890f6f65c01"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#ac44ac5f62ed7369c444b6f13d9e1d9bc">l</a></td></tr>
<tr class="separator:a758161becac272b17e015890f6f65c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5959ab210b678e873087b656c8312e54"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#acd5ac56a5ed6650d5797e89b278a972f">h</a></td></tr>
<tr class="separator:a5959ab210b678e873087b656c8312e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd9258127ce7af017d5f807fa297950a"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:abd9258127ce7af017d5f807fa297950a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:af73d7a01663884cd7ded5d67ace8478d"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#ac44ac5f62ed7369c444b6f13d9e1d9bc">l</a></td></tr>
<tr class="separator:af73d7a01663884cd7ded5d67ace8478d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5205744cfd93b86119d35265ba4e8bff"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a>&#160;&#160;&#160;<a class="el" href="union__fixed.html#acd5ac56a5ed6650d5797e89b278a972f">h</a></td></tr>
<tr class="separator:a5205744cfd93b86119d35265ba4e8bff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union__fixed.html#ac0efdf5ee7302ad64dbc51cabc3659d3">b</a></td></tr>
<tr class="separator:ac0efdf5ee7302ad64dbc51cabc3659d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab16f9fd51f817308d109b9b35866f310"><td class="memItemLeft" align="right" valign="top"><a class="el" href="asm_2types_8h.html#a9e551e7c1bd8feb51e8eefd109966f75">UWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="union__fixed.html#ab16f9fd51f817308d109b9b35866f310">w</a></td></tr>
<tr class="separator:ab16f9fd51f817308d109b9b35866f310"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Useful definition for working with 8 bit + 8 bit fixed point values</p>
<p>Use <code>.w</code> to access the variable as unsigned 16 bit type.</p>
<p>Use <code>.b.h</code> and <code>.b.l</code> (or just <code>.h</code> and <code>.l</code>) to directly access it's high and low unsigned 8 bit values. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ac44ac5f62ed7369c444b6f13d9e1d9bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac44ac5f62ed7369c444b6f13d9e1d9bc">&#9670;&nbsp;</a></span>l</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a> _fixed::l</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acd5ac56a5ed6650d5797e89b278a972f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd5ac56a5ed6650d5797e89b278a972f">&#9670;&nbsp;</a></span>h</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="asm_2types_8h.html#a280213815420791851f7e59bdc8a3c95">UBYTE</a> _fixed::h</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abd9258127ce7af017d5f807fa297950a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd9258127ce7af017d5f807fa297950a">&#9670;&nbsp;</a></span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac0efdf5ee7302ad64dbc51cabc3659d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0efdf5ee7302ad64dbc51cabc3659d3">&#9670;&nbsp;</a></span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }  _fixed::b</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab16f9fd51f817308d109b9b35866f310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab16f9fd51f817308d109b9b35866f310">&#9670;&nbsp;</a></span>w</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="asm_2types_8h.html#a9e551e7c1bd8feb51e8eefd109966f75">UWORD</a> _fixed::w</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this union was generated from the following file:<ul>
<li>gbdk-lib/include/asm/<a class="el" href="asm_2types_8h_source.html">types.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
</div>
</body>
</html>
